<?php
/**
 * Zawiera definicje routerów niezbędne do tworzenia
 * friendly linków.
 * @category routery
 */
//-------------------------------ZAJAWKA----------------------------------------

$r['zajawka1'] = new Zend_Controller_Router_Route_Regex(
	'Home_page.html',
    array( 'action' => 'zajawka1', 'controller' => 'Index', 'module' => 'default' ),
    array(),
	'Home_page.html'
);

$r['wspolpraca'] = new Zend_Controller_Router_Route_Regex(
	'Partnership.html',
    array( 'action' => 'wspolpraca', 'controller' => 'Index', 'module' => 'default' ),
    array(),
	'Partnership.html'
);

$r['politykaprywatnosci'] = new Zend_Controller_Router_Route_Regex(
	'Privacy_policy.html',
    array( 'action' => 'politykaprywatnosci', 'controller' => 'Index', 'module' => 'default' ),
    array(),
	'Privacy_policy.html'
);

$r['rezygnacja'] = new Zend_Controller_Router_Route_Regex(
	'Unsubscribe,([^-]*),([^-]*).html',
    array( 'action' => 'rezygnacja', 'controller' => 'Index', 'module' => 'default' ),
    array(1 => 'mail', 2 => 'kod'),
	'Unsubscribe,%s,%s.html'
);

$r['podmienjezyk'] = new Zend_Controller_Router_Route_Regex(
	'Change_lang,([^-]*).html',
    array( 'action' => 'podmienjezyk', 'controller' => 'index', 'module' => 'default' ),
    array(1 => 'lang' ),
	'Change_lang,%s.html'
);
//------------------------------------------------------------------------------

$router->addRoutes( $r );